package com.Ajava1704.for设计模式.for单例模式;

/**
 * @类名: com.Ajava1704.for设计模式.for单例模式
 * @作者: lgt
 * @创建时间: 2020-02-15 16:41
 * @描述:枚举单例
 **/
public enum  ForDanLiMeiJv {

    SINGAL;

    private ForDanLiObject forDanLiObject;

    private ForDanLiMeiJv(){
        forDanLiObject = new ForDanLiObject();
    }

    public ForDanLiObject getSingaloObject(){
        return forDanLiObject;
    }

}
